package yl.hs.bmipfull.pojo.material;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * 作用:  采购需求信息明细实体类<br/>
 * 创建时间: 2021年06月18日 18时34分30秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "采购需求信息明细", mapCode = "purchase_require_details")
public class PurchaseRequireDetailsEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 需求编号
     */
    private String requireSN;
    /**
     * 原材编号
     */
    private String rmSN;
    /**
     * 原材类别
     */
    private String rmCate;
    /**
     * 原材名称
     */
    private String rmName;
    /**
     * 原材规格
     */
    private String rmSpec;
    /**
     * 原材产地
     */
    private String brand;
    /**
     * 需求数量
     */
    private BigDecimal quantity;
    /**
     * 需求单位
     */
    private String requireUnit;
    /**
     * 排序字段
     */
    private String sortCode;

    public PurchaseRequireDetailsEntity() {
    }

    public PurchaseRequireDetailsEntity(String requireSN, String rmSN, String rmCate, String rmName, String rmSpec, String brand, BigDecimal quantity, String requireUnit, String sortCode) {
        this.requireSN = requireSN;
        this.rmSN = rmSN;
        this.rmCate = rmCate;
        this.rmName = rmName;
        this.rmSpec = rmSpec;
        this.brand = brand;
        this.quantity = quantity;
        this.requireUnit = requireUnit;
        this.sortCode = sortCode;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRequireSN() {
        return this.requireSN;
    }

    public void setRequireSN(String requireSN) {
        this.requireSN = requireSN;
    }

    public String getRmSN() {
        return this.rmSN;
    }

    public void setRmSN(String rmSN) {
        this.rmSN = rmSN;
    }

    public String getRmCate() {
        return this.rmCate;
    }

    public void setRmCate(String rmCate) {
        this.rmCate = rmCate;
    }

    public String getRmName() {
        return this.rmName;
    }

    public void setRmName(String rmName) {
        this.rmName = rmName;
    }

    public String getRmSpec() {
        return this.rmSpec;
    }

    public void setRmSpec(String rmSpec) {
        this.rmSpec = rmSpec;
    }

    public String getBrand() {
        return this.brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public BigDecimal getQuantity() {
        return this.quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getRequireUnit() {
        return this.requireUnit;
    }

    public void setRequireUnit(String requireUnit) {
        this.requireUnit = requireUnit;
    }

    public String getSortCode() {
        return this.sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }
}